﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="U4008RecordToJiReport.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.U4008RecordToJiReport" %>

<form id="pagerForm" method="post" action="UserModel/U4008RecordToJiReport.aspx">
<input type="hidden" name="CreateDateFrom" value="<%=CreateDateFrom %>" />
<input type="hidden" name="CreateDateTo" value="<%=CreateDateTo %>" />
<input type="hidden" name="ShowTimeInput" value="<%=ShowTimeInput?false:ShowTimeInput %>" />
</form>
<form id="form1" runat="server" method="post" action="UserModel/U4008RecordToJiReport.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    <input type="hidden" name="ShowTimeInput" value="<%=ShowTimeInput?false:ShowTimeInput %>" />
                    来电日期： 
                </td>
                <td>
                    从:<input name="CreateDateFrom" type="text" class="date" value="<%=CreateDateFrom %>"  />
                    到:<input name="CreateDateTo" type="text" class="date" value="<%=CreateDateTo %>"  />
                </td>
                <td>
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
        
    </div>
</div>

</form>
<div class="pageContent"> 
    <div class="panelBar">
        <ul class="toolBar">
             <li><a class="icon" href="UserModel/ExportExecl/ExportU4008RecordToJiReport.aspx?CreateDateFrom=<%=CreateDateFrom %>&CreateDateTo=<%=CreateDateTo %>" target="_blank" title="确定要导出吗?"><span>导出</span></a></li>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="96">
        <thead>
            <tr>
                <th >
                    技师
                </th>
                <th >
                    需处理的来电记录
                </th>
                <th >
                    已完成处理
                </th>
                <th >
                    未完成处理
                </th>
                <th>查看明细</th>
                                          
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr ><td>
                <%# Eval("RealName")%>
                </td>
                <td><%# Eval("allnum")%></td>
				<td><%# Eval("allnum2")%></td>
                <td><%# Convert.ToInt32(Eval("allnum")) - Convert.ToInt32(Eval("allnum2"))%></td>
                <td>
                    <a fresh="true" rel="U4008RecordList" title="查看[<%# Eval("RealName") %>]处理明细" target="navTab" href="UserModel/U4008RecordList.aspx?RealName=<%#  base.Server.UrlEncode(Eval("RealName").ToString()) %>&CallDateFrom=<%=CreateDateFrom %>&CallDateTo=<%=CreateDateTo %>">查看处理明细</a>
                </td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            <tr ><td>
               合计:
                </td>
                <td><%=GetUMDTValue("allnum")%></td>
				<td><%=GetUMDTValue("allnum2")%></td>
                <td><%= Convert.ToInt32(GetUMDTValue("allnum")) - Convert.ToInt32(GetUMDTValue("allnum2"))%></td>
                <td>
                   
                </td>
			</tr>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
</div>

